//
// Created by wkm on 2024-04-17.
//

#ifndef AES128CHIPSYSTEMC_X8TIME_DRIVER_H
#define AES128CHIPSYSTEMC_X8TIME_DRIVER_H

#include "../core_module/CONSTANT.h"

SC_MODULE(x8time_driver) {
    sc_in<bool> d_clk;
    sc_out<bool> d_start, d_reset;
    sc_out<sc_uint<DATA_SIZE>> d_input_data;

    void prc_x8time_driver();

    SC_CTOR(x8time_driver) : d_clk("1"), d_start("2"), d_input_data("3") {
        SC_THREAD(prc_x8time_driver);
        sensitive << d_clk.pos();
    }
};

#endif //AES128CHIPSYSTEMC_X8TIME_DRIVER_H
